from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .case import saas_cases_router
from .pay import saas_pay_router
from .buckling import saas_buckling_router
from .scheduling_rules import saas_scheduling_rules_router
from .scheduling_dates import saas_scheduling_dates_router
from .appointment import saas_appointment_router
from .space import saas_space_router
from .consumables import saas_consumables_router
from .consumables_use import saas_consumables_use_router
from .performance_percentage import saas_performance_percentage_router

saas_router = APIRouter()
saas_router.include_router(saas_pay_router, prefix="/pay", tags=["后端-收银模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_buckling_router, prefix="/buckling", tags=["后端-划扣模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_appointment_router, prefix="/appointment", tags=["后端-预约模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_scheduling_rules_router, prefix="/scheduling_rules", tags=["后端-班次模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_scheduling_dates_router, prefix="/scheduling_dates", tags=["后端-排班模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_space_router, prefix="/space", tags=["后端-门店模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_consumables_router, prefix="/consumables", tags=["后端-耗材模块"], dependencies=[DependPermisson])
saas_router.include_router(saas_consumables_use_router, prefix="/consumables_use", tags=["后端-耗材明细"], dependencies=[DependPermisson])
saas_router.include_router(saas_performance_percentage_router, prefix="/percentage", tags=["后端-业绩明细"], dependencies=[DependPermisson])
saas_router.include_router(saas_cases_router, prefix="/case", tags=["后端-病例模块"], dependencies=[DependPermisson])